<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <button id="button">点击变色</button>
    <script src="./button.js"></script>
    <script>
        // 流水代码
        new Button('button');
    </script>
</body>
</html>